package com.jiancong.mapper;

import com.jiancong.domain.entity.Role;
import com.jiancong.domain.entity.RoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMenuMapper {
    int insertRoleMenu(@Param("roleMenu") RoleMenu roleMenu);

    List<Long> selectMenuIdsByRoleId(@Param("id") Long id);

    void deleteRoleMenusByRoleId(@Param("id") Long id);
}
